<?php
class Option extends CoreTagWithLang {
	protected $disabled;
	protected $label;
	protected $selected;
	protected $value;

	public function __construct() {
		parent::__construct("option");
		$this->disabled="";
		$this->label="";
		$this->selected="";
		$this->value="";
		$this->attributeNames=array_merge($this->attributeNames,array('disabled','label','selected','value'));
		$this->attributeValues=array_merge($this->attributeValues,array('','','',''));
	}

	public function setDisabled($_disabled) {
		$this->disabled=(string)$_disabled;
		$this->setAttribute('disabled',$_disabled);
	}
	public function getDisabled() {
		return $this->disabled;
	}
	public function setLabel($_label) {
		$this->label=(string)$_label;
		$this->setAttribute('label',$_label);
	}
	public function getLabel() {
		return $this->label;
	}
	public function setSelected($_selected) {
		$this->selected=(string)$_selected;
		$this->setAttribute('selected',$_selected);
	}
	public function getSelected() {
		return $this->selected;
	}
	public function setValue($_value) {
		$this->value=(string)$_value;
		$this->setAttribute('value',$_value);
	}
	public function getValue() {
		return $this->value;
	}

}
?>